Composer 插件之 Bower
composer.json 配置
{ "require": { "php-kit/composer-bower-plugin": "dev-master" }, "extra": { "bower": { "require": { "jquery": "~2.0", "bootstrap": "~3.0" }, "require-dev": { "": "~1.0" }, "directory": "web/assets/bower" } } }
|
执行 composer install/update, 将自动调用 bower install, 并将bower资源安装到 directory 目录下
更多详情